@echo off

setlocal 
%~d0
cd "%~dp0"

echo Creating NuGet package for Helper
echo ------------------------------------------

if exist .\output rd .\output /s /q

md .\output\lib
md .\output\content
md .\output\content\App_Code

copy .\resources\UserVoice.Helper.nuspec .\output\
xcopy ..\sample\App_Code\UserVoice.cshtml .\output\content\App_Code\ /E
xcopy ..\sample\bin\UserVoiceApi.dll .\output\lib\ /E

.\tools\NuGet.exe pack .\output\UserVoice.Helper.nuspec

pause